package org.cheniy.infrastructure.persistent.dao;

import org.apache.ibatis.annotations.Mapper;
import org.cheniy.infrastructure.persistent.po.UserRaffleOrder;

/**
 * @author cheniy
 * @description 用户抽奖订单表
 * @create 2025/3/19 13:50
 */
@Mapper
public interface IUserRaffleOrderDao {
    UserRaffleOrder queryNoUsedRaffleOrder(UserRaffleOrder userRaffleOrderReq);

    void insert(UserRaffleOrder build);

    int updateUserRaffleOrderStateUsed(UserRaffleOrder userRaffleOrderReq);
}
